from django.urls import path, re_path
from django.views.generic import TemplateView

from . import views

urlpatterns = [
    re_path('^index/', views.index),
    re_path('^upload/', TemplateView.as_view(template_name='upload.html')),
    re_path('^upload_video/', views.VideosView.as_view()),
    re_path('^vid/(?P<operator>.*)/', views.VideoListVIew.as_view()),
    re_path('^play_video/', views.play_video),
    re_path('^delete_video/', views.delete_video),

]
